package com.xu.cloud.common.trace;

import com.xu.cloud.common.sequence.ISequence;

/**
 * 序列traceId上下文
 *
 * @author xuguan
 * @since 2025/1/8
 */
public class SequenceTraceIdContext extends SimpleTraceIdContext {

    private final ISequence sequence;

    public SequenceTraceIdContext(ISequence sequence) {
        super(sequence.nextId());
        this.sequence = sequence;
    }
}
